module.exports = {
    publicPath: process.env.NODE_ENV === 'production'
        ? '/sxt/'
        : '/',
    devServer: {
        proxy: {
            '/api': {
                target: 'http://localhost:3000',
                pathRewrite: {
                    '^/api': ''
                },
                changeOrigin: true
            },
            "/sxt":{
                target: 'http://121.42.14.194:9011',
                pathRewrite: {
                    '^/sxt': ''
                },
                changeOrigin: true
            }
        }
    }
}